A distributed object that's just a wrapper around another distributed object. More...
#include <distributed.hpp>
Public Member Functions | |
WrappedDistributed (const WrappedDistributed &old) | |
Protected copy constructor to avoid unwanted copies. | |
~WrappedDistributed (void) | |
Destructor. | |
const Communicator & | communicator (void) const |
Get the communicator. |
A distributed object that's just a wrapper around another distributed object.
This serves as a subclass to a class that wraps a Distributed class instance. In that case, it's desireable to have the wrapper class act like a Distributed instance, but not duplicate the information in the wrapped class.
gridpack::parallel::WrappedDistributed::WrappedDistributed | ( | const WrappedDistributed & | old | ) |
Protected copy constructor to avoid unwanted copies.
gridpack::parallel::WrappedDistributed::~WrappedDistributed | ( | void | ) |
Destructor.
const Communicator& gridpack::parallel::WrappedDistributed::communicator | ( | void | ) | const [virtual] |
Get the communicator.
Implements gridpack::parallel::DistributedInterface.